#include <iostream>
#include "Cube.h"
using namespace std;

bool isSame(Cube& c1, Cube& c2)
{
	if (c1.getL() == c2.getL())
		return true;
	return false;
}

int main1()
{
	Cube c;
	c.setL(2);
	c.setW(2);
	c.setH(2);

	cout << c.getH() << endl;
	cout << c.getW() << endl;
	cout << c.getL() << endl;
	cout << c.calculateH() << endl;
	cout << c.calculateS() << endl;

	Cube c1;
	c1.setL(2);
	c1.setW(2);
	c1.setH(2);

	cout << isSame(c, c1) << endl;
	cout << c.isSame(&c1) << endl;
	cout << c1.isSame(c) << endl;
	system("pause");
	return 1;
}